* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  background: #000;
  text-align: end;
}

ul li {
  display: inline-block;
  position: relative;
}

ul li a {
  display: block;
  padding: 20px 25px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
}

.dropdown {
  display: block;
  position: absolute;
  background: #000;
  padding: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  top: 68px;
  right: 3px;
  display: none;
}

ul li a:hover {
  color: lightgreen;
}

ul li:hover .dropdown {
  display: block;
}

.index {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 10px;
}
.index a {
  text-decoration: none;
  color: lightgreen;
  font-size: 30px;
}
